* Replication script for
* "Coordinating Nominations: How to Deal with
* an Incumbent Surplus after Electoral Reform"
* published in Japanese Journal of Political Science
* author: Jochen Rehmert

* Script replicates:
* Tables: 2, 11

* directory
cd "..."

* load data
use coordination3.dta, clear

**************************************************************
* Table 2: Candidacy Type in 1996 and Candidate Coordination *
**************************************************************

** Model for Table 2: Candidates
mlogit cand age totcwins mainfaction exp_lop_voteshare ///
 exp_voteshare_cand excess ,  base(1)
	 
** Model for Table 2: Incumbents only
mlogit cand age totcwins mainfaction exp_lop_voteshare ///
 exp_voteshare_cand excess if  inc == 1 ,  base(1)

****************************************************
* Table 11: Table 2 with Clustered Standard Errors *
****************************************************
*** clustered standard errors ***						   
** Model for Table 2: Candidates
mlogit cand age totcwins mainfaction exp_lop_voteshare ///
 exp_voteshare_cand excess , cluster(region)  base(1)
     
	 
** Model for Table 2: Incumbents only
mlogit cand age totcwins mainfaction exp_lop_voteshare ///
 exp_voteshare_cand excess if  inc == 1 , cluster(region)  base(1)
